import request from '@/utils/subOrderForm'

export function signatureList (data) { //获取签名列表
  JSON.stringify(data)
  return request({
    url: '/sms/sign',
    method: 'get',
    params : data
  })
}
export function addsignature (data,method) { //添加 签名
  return request({
    url: '/sms/sign',
    method:method,
    data
  })
}

export function subSig (signId) { //同步模板审核数据 提审
    return request({
      url: '/sms/sign/audit',
      method:'put',
      params : signId
    })
}

export function synTemplate (url,data) { //同步模板审核数据
    return request({
      url: url,
      method:'get',
    })
}

export function getdxDetails (data) { //单条短信详情
    return request({
      url: '/sms/sign/'+data,
      method:'GET'
    })
}
